package com.example.batterynotification;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class NotificationBroadcastReceiver extends BroadcastReceiver{

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.i("NS", "NotificationBroadcastReceiver on recevie");
		//if (intent.getAction() == "notification_cancelled") 
		{
			Intent serviceIntent= new Intent(context,notificationSoundService.class);
			context.stopService(serviceIntent);
		} 
		
	}


}
